package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.DispatchPumpSiteRelations;

/**
 * 机泵 - 站点关联Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public interface DispatchPumpSiteRelationsMapper 
{
    /**
     * 查询机泵 - 站点关联
     * 
     * @param pumpSiteRelationId 机泵 - 站点关联主键
     * @return 机泵 - 站点关联
     */
    public DispatchPumpSiteRelations selectDispatchPumpSiteRelationsByPumpSiteRelationId(Long pumpSiteRelationId);

    /**
     * 查询机泵 - 站点关联列表
     * 
     * @param dispatchPumpSiteRelations 机泵 - 站点关联
     * @return 机泵 - 站点关联集合
     */
    public List<DispatchPumpSiteRelations> selectDispatchPumpSiteRelationsList(DispatchPumpSiteRelations dispatchPumpSiteRelations);

    /**
     * 新增机泵 - 站点关联
     * 
     * @param dispatchPumpSiteRelations 机泵 - 站点关联
     * @return 结果
     */
    public int insertDispatchPumpSiteRelations(DispatchPumpSiteRelations dispatchPumpSiteRelations);

    /**
     * 修改机泵 - 站点关联
     * 
     * @param dispatchPumpSiteRelations 机泵 - 站点关联
     * @return 结果
     */
    public int updateDispatchPumpSiteRelations(DispatchPumpSiteRelations dispatchPumpSiteRelations);

    /**
     * 删除机泵 - 站点关联
     * 
     * @param pumpSiteRelationId 机泵 - 站点关联主键
     * @return 结果
     */
    public int deleteDispatchPumpSiteRelationsByPumpSiteRelationId(Long pumpSiteRelationId);

    /**
     * 批量删除机泵 - 站点关联
     * 
     * @param pumpSiteRelationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDispatchPumpSiteRelationsByPumpSiteRelationIds(Long[] pumpSiteRelationIds);
}
